package com.yenlien.traceyun.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * Created by LiuSha on 2020/7/27.
 * 仓储养护
 */
@Entity
@Table(name = "t_storage_curing")
public class StorageCuring extends TraceEntity {
    @Column
    private String name;//基源名称=物料名称
    @Column
    private String technology;//养护工艺名称
    @Transient
    private List<Curing> curingList;//养护明细

    private String spec;    // 规格

    private String unit;    // 单位

    private String type;    //  类型


    @Transient
    private String query; //查询字段

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public List<Curing> getCuringList() {
        return curingList;
    }

    public void setCuringList(List<Curing> curingList) {
        this.curingList = curingList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTechnology() {
        return technology;
    }

    public void setTechnology(String technology) {
        this.technology = technology;
    }


    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
